package cn.edu.xmu.oomall.customer.model.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.ZonedDateTime;

/**
 * @author Jiazhe Yuan
 * @date 2021-12-14 12:25:19
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class CouponRetVo {
    private Long id;
    //private SimpleActivityRetVo activity;
    private Long activityId;
    private String name;
    private String couponSn;
    private Byte state;
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd'T'HH:mm:ss.SSSZZZZZ", timezone = "GMT+8")
    private ZonedDateTime beginTime;
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd'T'HH:mm:ss.SSSZZZZZ", timezone = "GMT+8")
    private ZonedDateTime endTime;
}
